import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: 'shows',
  },
  {
    path: '/home',
    name: 'home',
    component: function () {
      return import(/* webpackChunkName: "about" */ '../views/HomeView.vue')
    }
  },
  {
    path: '/christmas',
    name: 'christmas',
    component: function () {
      return import(/* webpackChunkName: "about" */ '../views/Christmas.vue')
    }
  },
  {
    path: '/shows',
    name: 'shows',
    component: function () {
      return import(/* webpackChunkName: "about" */ '../views/show.vue')
    }
  }
]

const router = new VueRouter({
  routes
})

export default router
